package com.ruoyi.web.common;

import lombok.Getter;

import java.text.MessageFormat;

/**
 * <br>
 *
 * @author chenwujie
 * @date 2021/2/11
 */
@Getter
public class BusinessException extends RuntimeException {
    private String msg;

    public BusinessException(String format, Object... param) {
        this.msg = MessageFormat.format(format, param);
    }
}
